package dice.sinanya.exceptions;

import dice.sinanya.entity.EntityTypeMessages;

import static dice.sinanya.tools.getinfo.GetMessagesProperties.entitySystemProperties;
import static dice.sinanya.tools.makedata.Sender.sender;

public class WodCheckNotIsOneException extends Exception {
    public WodCheckNotIsOneException(EntityTypeMessages entityTypeMessages) {
        super(entitySystemProperties.getWodCheckNotIsOne(entityTypeMessages.getFromGroupString()));
        sender(entityTypeMessages, entitySystemProperties.getWodCheckNotIsOne(entityTypeMessages.getFromGroupString()));
    }
}
